export const userTypeEnum = [
  { value: "1", label: "专家（外部）" },
  { value: "2", label: "科研" },
  { value: "3", label: "其他" }
];

export type ModeType = "add" | "edit" | "view";

export interface FormInlineType {
  companyNameLike: string;
  nameLike: string;
  userNameLike: string;
  positionalTitlesLike: string;
  kcMemberCode: string;
  kcRoleCode: string;
  pageNum: number;
  pageSize: number;
}
export interface UserInfoType {
  address: string | null;
  age: number;
  area: string;
  companyName: object;
  deviceId: string;
  email: string;
  name: string;
  nickName: string;
  password: string;
  phoneNum: string;
  photo: string;
  userName: string;
  userType: string;
  wxCode: string;
  roleValue: number;
  id?: number;
  companyId?: number;
}

export interface StateType {
  formData: UserInfoType;
}

export interface RoleListType {
  roleName?: string;
  id?: number;
}

export const scienceMemType = {
  基础研究人员: 0,
  "科技研发人员-研究和技术人员": 0,
  科技管理人员: 0,
  "科技研发人员-科研项目管理人员": 0,
  科技直接服务人员: 0
};
